package com.qy.bean ;

import java.io.Serializable;

/**
* s_check_station 
* @author zhangwenlong
* @date   Sat Feb 10 10:00:35 GMT+08:00 2018
*/ 
public class CheckStation extends DataObject  implements Serializable {

	/**
     * 
     */
    private static final long serialVersionUID = 1L;

	/** 车检站id */
	private int id;

	/** 车检站名字 */
	private String name;

	/** 车检站坐标 */
	private String point;

	/** 位置名称 */
	private String location;

	/** 车检员id */
	private int serverId;

	public void setId(int id) {
		if (this.id != id) {
			this.id = id;
			setOp(Option.Update);
		}
	}

	public int getId() {
		return id;
	}

	public void setName(String name) {
		if(this.name == null || !this.name.equals(name)) {
			this.name = name;
			setOp(Option.Update);
		}
	}

	public String getName() {
		return name;
	}

	public void setPoint(String point) {
		if(this.point == null || !this.point.equals(point)) {
			this.point = point;
			setOp(Option.Update);
		}
	}

	public String getPoint() {
		return point;
	}

	public void setLocation(String location) {
		if(this.location == null || !this.location.equals(location)) {
			this.location = location;
			setOp(Option.Update);
		}
	}

	public String getLocation() {
		return location;
	}

	public void setServerId(int serverId) {
		if (this.serverId != serverId) {
			this.serverId = serverId;
			setOp(Option.Update);
		}
	}

	public int getServerId() {
		return serverId;
	}

}

